package com.system.dao;

import java.sql.SQLException;
import java.util.List;

import com.system.entity.FoodClassify;
import com.system.entity.FoodInfo;
import com.system.util.PieChartData;

public interface IFoodDao {
	public List<FoodClassify> foodClassifiesList(String keyword) throws SQLException;

	public String changeFoodClassify(FoodClassify foodClassify,String oldID) throws SQLException;

	public String addFoodClassify(FoodClassify foodClassify) throws SQLException;

	public String deleteFoodClassify(String classifyNum) throws SQLException;

	public List<FoodInfo> foodInfoList(String keyword) throws SQLException;

	public String addFoodInfo(FoodInfo foodInfo) throws SQLException;

	public String changeFoodInfo(FoodInfo foodInfo, String oldID) throws SQLException;

	public String deleteFoodInfo(String foodNum) throws SQLException;

	public PieChartData pieChartData() throws SQLException;
}
